﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PortmonAnalyse
{
    public partial class Form2 : Form
    {
        public Form2(ListViewItem Li)
        {
            InitializeComponent();
            li = Li;
        }
        public ListViewItem li;
        private void Form2_Load(object sender, EventArgs e)
        {
            toolStripLabel1.Text = li.SubItems[0].Text;
            toolStripLabel2.Text = li.SubItems[1].Text;
            toolStripLabel3.Text = li.SubItems[2].Text;
            toolStripLabel4.Text = li.SubItems[3].Text;
            textBox1.Text = li.SubItems[4].Text;
            string str = li.SubItems[5].Text;
            str = str.Replace("\\r", "\r");
            str = str.Replace("\\n", "\n");
            textBox2.Text = str;
            this.Text = toolStripLabel1.Text;   
            try
            {
                textBox2.AppendText("\r\n*************************************************************\r\n");
                str = li.SubItems[6].Text;
                str = str.Replace("\\r", "\r");
                str = str.Replace("\\n", "\n");
                textBox2.AppendText(str);
            }
            catch
            {
            	
            }
        }
    }
}
